import request from '@/utils/request'

// 查询农检通工作平台检查记录列表
export function listNjt_inspection(query) {
  return request({
    url: '/certificate/njt_inspection/list',
    method: 'get',
    params: query
  })
}

// 查询农检通工作平台检查记录详细
export function getNjt_inspection(id) {
  return request({
    url: '/certificate/njt_inspection/' + id,
    method: 'get'
  })
}

// 新增农检通工作平台检查记录
export function addNjt_inspection(data) {
  return request({
    url: '/certificate/njt_inspection',
    method: 'post',
    data: data
  })
}

// 修改农检通工作平台检查记录
export function updateNjt_inspection(data) {
  return request({
    url: '/certificate/njt_inspection',
    method: 'put',
    data: data
  })
}

// 删除农检通工作平台检查记录
export function delNjt_inspection(id) {
  return request({
    url: '/certificate/njt_inspection/' + id,
    method: 'delete'
  })
}
